package com.xunlai.infra.permission.business.dao.entity;

import com.xunlai.infra.permission.storage.entity.BaseEntity;
import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author liang
 * @date 8/30/23 8:45 PM
 * 会员资格
 */
@Table("travel_memberships_goods")
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MembershipsGoods extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = -4105335612202869081L;

    @Id
    private Long id;

    private Integer timeLimit;

    private Integer limitUnit;

    private BigDecimal originalPrice;

    private BigDecimal price;


}
